package com.xwj;

import com.xwj.service.TestService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author xwj
 * @date 2020/12/21
 */
@SpringBootApplication
public class JtaAtomikosDruidApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(JtaAtomikosDruidApplication.class, args);
        TestService testService = context.getBean(TestService.class);
        testService.test();
    }
}
